{template "content","header", "default"}
{template "content","header_product", "default"}
<script language="javascript" src="{JS_PATH}changimages.js"></script>
<!-- 内容begin-->
<div id="shop">
  <div id="shop01">
    <a href="{APP_PATH}index.php?m=member&c=index&a=register&siteid={$siteid}" class="inputbutton12 p14 strong" />免费注册</a>
    <a href="{APP_PATH}index.php?m=member&c=index&a=login&forward={urlencode($_GET['forward'])}&siteid={$siteid}" class="inputbutton12 p14 strong" style="margin-left:8px;" />快速登录</a>
    <div class="news_title p14 strong">资讯和活动</div>
    <div class="news_c">
      <ul>
       
      {pc:content action="lists" catid="15" num="6" order="id desc"}	
			 {loop $data $s}
			<li><a href="{$s[url]}">{$s[title]}</a>
			{/loop}		
			{/pc}
      </ul>
    </div>
    <img src="{CSS_PATH}images/shangcheng_22.gif" style="float:left;" /> </div>
  <div id="shop02">
    <div class="ad_title p14 strong">最新活动</div>
     <div class="ad_c"><div id=imgADPlayer></div>
     <script language="javascript" src="{APP_PATH}caches/poster_js/18.js"></script>
      <script> 
    
		PImgPlayer.init( "imgADPlayer", 462, 220 );   
	</script></div>

    <div class="ad_b"></div>
  </div>
<!--20110612--> 
  <div id="shop11">
  <a href="{APP_PATH}index.php?m=content&c=user&a=buy_product" class="inputbutton21">我要求购</a><a href="#" class="inputbutton21">我要发布</a>
  </div>
  <div id="shop03" >
    <div class="shop03_title p14 strong">打折公告<a href="#" style="font-size:12px; font-weight:normal; color:#717070; margin-left:112px;">更多<font style="font-size:10px;">>></font></a></div>
    <div class="shop03_c" style="height: 150px;">
      <ul>
	  {pc:content action="hits" catid="15" num="6" order="monthviews DESC" cache="3600"}
		{loop $data $r}
			<li><a href="{$r[url]}"{title_style($r[style])} class="title" title="{$r[title]}">{str_cut($r[title],56,'...')}</a></li>
		{/loop}
	{/pc}
       
		
      </ul>
     
    </div>
    <div class="shop03_b"></div>
  </div>
<!--20110612--> 
  <div id="shop04" style="min-height:400px">
     <div class="shop04_title p14 strong">建材分类</div>
    <div class="shop04_c">
	  <div class="shop04_001"></div>
      <div class="shop04_c01">
     {pc:content action="get_product_cat" catid="$catid" num="25" order="id DESC" page="$page"}	
				{loop $data $r}
	 	 <div class="shop04_c02">
	  	<div class="shop04_c02_title"><h1 class="p14 strong"><a href="{APP_PATH}index.php?m=content&c=index&a=product_cat&pid={$r[linkageid]}">{$r[name]}</a></h1></div>
		 {pc:content action="get_product_cat" id="$r[linkageid]" return="cats"}	
			 {loop $cats $s}
			<a href="{APP_PATH}index.php?m=content&c=index&a=product_cat&cid={$s[linkageid]}&pid={$s['parentid']}">{$s[name]}</a>
			{/loop}		
			{/pc}
		</div>
		{/loop}		
		{/pc}
	  </div>
    </div>
    <div class="shop04_b"></div>
  </div>
  <div id="shop05">
    <div class="shop05_title"><h1 class="p14">产品推荐</h1></div>
    <div class="shop05_c"><ul>
    {pc:content  action="position" posid="10" catid="18" thumb="1" order="listorder DESC" num="10"}
    	{loop $data $v}
		    <li>
		    <a href="{APP_PATH}index.php?m=content&c=index&a=show&catid=18&id={$v[id]}"><img src="{thumb($v[thumb],90,60)}" width="96" height="96" /></a>
			<span><a href="{$v[url]}" target="_blank"{title_style($v[style])}>{$v[title]}</a></span>
			</li>
		{/loop}
	{/pc}
	
	</ul>	
	</div>
    <div class="shop05_b"></div>
  </div>
  <div id="shop05">
    <div class="shop05_title"><h1 class="p14">建材杂谈</h1><tt><a href="./zatan.html">更多>></a></tt></div>
    <div class="shop05_c">
	<dl>
	{pc:content action="hits" catid="14" num="10" order="monthviews DESC" cache="3600"}
		{loop $data $r}
			<dt><a href="{$r[url]}"{title_style($r[style])} class="title" title="{$r[title]}">{str_cut($r[title],56,'...')}</a></dt>
		{/loop}
	{/pc}
	</dl>
	</div>
    <div class="shop05_b"></div>
  </div>
</div>
<!-- 内容end-->
<!--友情链接begin-->
<div class="m06">
  <div class="m06_title">
  <h1><a href="javascript:void(0);">友情链接</a></h1>
  </div>
  <ul>
   {pc:link  action="type_list" siteid="$siteid" order="listorder DESC" num="10" return="dat"}
		{loop $dat $v}
              {if $type==0}
            <li>  <a href="{$v[url]}" target="_blank">{$v[name]}</a>  </li>
              {else}
             <li> <a href="{$v[url]}" target="_blank"><img src="{$v[logo]}" width="88" height="31" style="border: 1px solid #FFBE7A;"></a> </li>
              {/if}
		{/loop}
	{/pc}
  </ul>
</div>
<!-- 友情链接end-->
<!-- 内容end-->
{template "content","footer"}